********************
*The enclosed file reproduce the tables and
*figures for
*Seth J. Hill, "Learning Together Slowly: Bayesian
*Learning About Political Facts," Journal of Politics.
********************

*Execute the code in the following order using the
*statistical software R (for graphics) and Stata (for tables).
1. 01_Analyze.R.
 -- Note: set parameter .use in 01_Analyze.R to determine which
    version of tables/figures to produce (weighted to Pew, unweighted, high scorers on IQ, or low scorers on IQ)
2. 02_RegressionModels.do.
 -- Note: set parameter `ver' in 02_RegressionModels.do to 
    determine which version of tables to produce (weighted to Pew, unweighted, high scorers on IQ, or low scorers on IQ)
3. 03_RegressionModels-Exper2.do.

*Auxiliary and input files.
 99_CallData.R
 indata/
  AnalysisData-long.csv
  AnalysisData-wide.csv
  PewWeights.csv
  Exper2-DataForStata.dta
  